// 个人中心
export const panelList = [
  {
    icon: "/static/images/user/ic_panel1.png",
    label: "成为顾问",
    url: "/package_user/pages/adviser/add",
  },
  {
    icon: "/static/images/user/ic_panel2.png",
    label: "顾问中心",
    url: "/package_user/pages/adviser/index",
  },
  {
    icon: "/static/images/user/ic_panel3.png",
    label: "学习记录",
    url: "/package_user/pages/learning/index",
  },
  {
    icon: "/static/images/user/ic_panel4.png",
    label: "我的订单",
    url: "/package_user/pages/order/list",
  },
  {
    icon: "/static/images/user/ic_panel5.png",
    label: "企业认证",
    url: "/package_user/pages/enterprise/auth",
  },
  {
    icon: "/static/images/user/ic_panel6.png",
    label: "推荐有礼",
    url: "/package_user/pages/invite/index",
  },
  {
    icon: "/static/images/user/ic_panel7.png",
    label: "反馈与帮助",
    url: "/package_user/pages/feedback/list",
  },
  {
    icon: "/static/images/user/ic_panel8.png",
    label: "设置",
    url: "/package_user/pages/common/privacy",
  },
];

// 消息通知类型
export const noticeTypeList = [
  {
    label: '动态',
    value: 'dynamic_notice',
    params: 'id',
    url: `/package_society/pages/trend/detail`
  },
  {
    label: '学社创建成功',
    value: 'create_success',
    params: 'club_id',
    url: `/package_society/pages/society/index`
  },
  {
    label: '学社创建失败',
    value: 'create_fail',
    params:'club_id',
    url: '/package_society/pages/society/add'
  },
  {
    label: '申请通过',
    value: 'apply_pass',
    params: 'club_id',
    url: `/package_society/pages/society/index`
  },
  {
    label: '申请驳回',
    value: 'apply_fail',
    params: 'id',
    url: '/package_society/pages/society/detail'
  },
  {
    label: '邀请回答',
    value: 'invite_answer',
    params: 'id',
    url: '/package_society/pages/trend/question/detail'
  },
  {
    label: '收到回答',
    value: 'answered',
    params: 'id',
    url: '/package_society/pages/trend/answer/detail'
  },
  {
    label: '学社过期',
    value: 'club_pass',
    url: '/pages/index/index'
  },
  {
    label: '学习成长',
    value: 'work_arrange',
    params: 'club_id',
    url: `/package_society/pages/society/index`
  },
]

// 隐私设置单选项
export const priVateRadioList = [
  {
    name: '公开可见',
    disabled: false,
    value: 1,
  },
  {
    name: '不开放',
    disabled: false,
    value: 0,
  },
]

// 个人信息表单
// 顾问表单
export const adviserOptionList = [
  { title: '头像', isArrow: true, formType: 'avatar', },
  { title: '姓名', isArrow: true, formType: 'input', prop: 'nickname', placeholder: '请输入姓名' },
  { title: 'ID号', isArrow: false },
  { title: '公司', isArrow: true, formType: 'input', prop: 'company_name', placeholder: '请输入公司' },
  { title: '职位', isArrow: true, formType: 'input', prop: 'position', placeholder: '请输入职位' },
  { title: '常驻地区', isArrow: true, formType: 'picker' },
  { title: '擅长领域', isArrow: true, formType: 'input', prop: 'expertise', placeholder: '请输入擅长领域' },
  { title: '课程主题', isArrow: true, formType: 'input', prop: 'course_theme', placeholder: '请输入课程主题' },
  { title: '自我介绍', isArrow: true, formType: 'textarea', prop: 'self_desc', placeholder: '请输入自我介绍' },
  { title: 'BANNER图', isArrow: false, formType: 'banner', tip: '尺寸为700*400' },
]

// 非顾问只有头像、姓名、ID号、个人简介
export const commonOptionList = [
  { title: '头像', isArrow: true, formType: 'avatar', },
  { title: '姓名', isArrow: true, formType: 'input', prop: 'nickname', placeholder: '请输入姓名' },
  { title: 'ID号', isArrow: false },
  { title: '个人简介', isArrow: true, formType: 'textarea', prop: 'introduce', placeholder: '请输入自我介绍' },
]